package com.chlitina.store.common.utils;

import java.util.List;

public class Utils {
	public static boolean contains(List<Long> added, Long id) {
		for (Long value : added) {
			if (value.longValue() == id.longValue()) {
				return true;
			}
		}
		return false;
	}
	
	public static boolean equal(Long n1,Long n2){
		return n1.longValue()==n2.longValue();
	}
	
	public static boolean equal(long n1,long n2){
		return n1==n2;
	}
	
	public static boolean equal(Long n1,long n2){
		return n1.longValue()==n2;
	}
	
}
